package com.cxria.shiro.service;

import com.cxria.shiro.entity.Permission;

import java.util.List;

public interface ShiroPermissionService {

	Permission getByName(String permissionName);

	Permission getById(long id);

	List<Permission> getAll();

	List<Permission> getByRoleId(Long roleId);

}
